"use strict";

exports.getTableName = function getTableName(req) {
  let apiPrefix = "/api/";
  return req.originalUrl.split("?")[0].replace(apiPrefix, "").split("/")[0];
};
